package com.rules.admin.vo;

public class DecisionTableCell {
   private String rowId;
   private String columnId;
   private String condition;

   public String getRowId() {
      return this.rowId;
   }

   public String getColumnId() {
      return this.columnId;
   }

   public String getCondition() {
      return this.condition;
   }

   public void setRowId(String rowId) {
      this.rowId = rowId;
   }

   public void setColumnId(String columnId) {
      this.columnId = columnId;
   }

   public void setCondition(String condition) {
      this.condition = condition;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof DecisionTableCell)) {
         return false;
      } else {
         DecisionTableCell other = (DecisionTableCell)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label47: {
               Object this$rowId = this.getRowId();
               Object other$rowId = other.getRowId();
               if (this$rowId == null) {
                  if (other$rowId == null) {
                     break label47;
                  }
               } else if (this$rowId.equals(other$rowId)) {
                  break label47;
               }

               return false;
            }

            Object this$columnId = this.getColumnId();
            Object other$columnId = other.getColumnId();
            if (this$columnId == null) {
               if (other$columnId != null) {
                  return false;
               }
            } else if (!this$columnId.equals(other$columnId)) {
               return false;
            }

            Object this$condition = this.getCondition();
            Object other$condition = other.getCondition();
            if (this$condition == null) {
               if (other$condition != null) {
                  return false;
               }
            } else if (!this$condition.equals(other$condition)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof DecisionTableCell;
   }

   public int hashCode() {

      int result = 1;
      Object $rowId = this.getRowId();
      result = result * 59 + ($rowId == null ? 43 : $rowId.hashCode());
      Object $columnId = this.getColumnId();
      result = result * 59 + ($columnId == null ? 43 : $columnId.hashCode());
      Object $condition = this.getCondition();
      result = result * 59 + ($condition == null ? 43 : $condition.hashCode());
      return result;
   }

   public String toString() {
      return "DecisionTableCell(rowId=" + this.getRowId() + ", columnId=" + this.getColumnId() + ", condition=" + this.getCondition() + ")";
   }
}
